convert from exponential to logarithmic form